#ifndef _SDT_H
#define _SDT_H

#include <type.h>
#include <compiler.h>

/**
 * @brief System Description Table Header
 */
typedef struct ACPI_System_Description_Table_Header {
    u32 signature;
    u32 length;
    u8 rev;
    u8 chksum;
    char oem_id[6];
    char oem_table_id[8];
    u32 oem_rev;
    u32 vendor_id;
    u32 vendor_rev;
} packed sdth_t;

/**
 * @brief Root System Description Table
 */
typedef struct ACPI_Root_System_Description_Table {
    sdth_t header;
    sdth_t* entry;
} packed rsdt_t;

#endif /* _SDT_H */
